package com.loocup.main;

import com.loocup.config.ConfigProperties;
import com.loocup.model.Table;
import com.loocup.utils.ExcelToTableUtils;
import com.loocup.utils.TableUtils;

import java.util.List;

public class GenerateMain {
    public static void main(String[] args) {
        List<Table> tables = ExcelToTableUtils.generateTable();
        for (Table table : tables) {
            System.out.println("-- ***************分隔线***************");
            String createTableDml = TableUtils.getCreateTableDml(table, new ConfigProperties());
            System.out.println(createTableDml);
        }
    }
}
